// Copyright 2019 The rhyme_lph Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// s [author] rhyme_lph
// A [email]  rhymelph@gmail.com
// p [github] https://github.com/rhymelph

import 'package:base_plugin/base_plugin.dart';
import 'package:flutter/material.dart';
import 'package:finance_app/src/page/setting/subscription/sub_add_credit_card_page.dart';

class SubAddCreditCardProvider extends BaseProvider {
  TextEditingController cardholderNameController = TextEditingController();
  FocusNode cardholderNameFocusNode = FocusNode();

  TextEditingController cardNumberController = TextEditingController();
  FocusNode cardNumberFocusNode = FocusNode();

  TextEditingController mmController = TextEditingController();
  FocusNode mmFocusNode = FocusNode();

  TextEditingController yyController = TextEditingController();
  FocusNode yyFocusNode = FocusNode();

  TextEditingController cvvController = TextEditingController();
  FocusNode cvvFocusNode = FocusNode();

  @override
  void dispose() {
    super.dispose();
    cardholderNameController.dispose();
    cardholderNameFocusNode.dispose();
    cardNumberController.dispose();
    cardNumberFocusNode.dispose();
    mmController.dispose();
    mmFocusNode.dispose();
    yyController.dispose();
    yyFocusNode.dispose();
    cvvController.dispose();
    cvvFocusNode.dispose();
  }

  @override
  Future get dataFuture => null;

  void onCameraCardName() {}

  void onAdd() {

  }
}
